﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.AM
{
    /// <summary>
    /// 资产报废单
    /// </summary>
    [Table("AM_AssetScrap")]
    public partial class AM_AssetScrap
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }
     
        public string ScrapId { get; set; }
     
        /// <summary>
        /// 资产id
        /// </summary>
        public Int32 ParentID { get; set; }
        /// <summary>
        /// 资产编码
        /// </summary>
        public string AssetCode { get; set; }
        /// <summary>
        /// 资产名称
        /// </summary>
        public string AssetName { get; set; }
        /// <summary>
        /// 资产类型
        /// </summary>
        public Int32 AssetTypeId { get; set; }
        /// <summary>
        /// 资产分类
        /// </summary>
        public Int32 AssetCategoryId { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string AssetSpec { get; set; }
        /// <summary>
        /// 资产位置
        /// </summary>
        public string AssetPosition { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public Double? Qty { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public Double? Price { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public Double? Amount { get; set; }

        /// <summary>
        /// 负责部门
        /// </summary>
        public String ResponsibleDept { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public String Custodian { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public String PhoneNumber { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Remark { get; set; }

        /// <summary>
        /// 采购日期
        /// </summary>
        public DateTime? PurchaseDate { get; set; }
        /// <summary>
        /// 资产二维码
        /// </summary>
        public string AssetQrCode { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean? Deleted { get; set; }

   

        /// <summary>
        /// FGC_CreateDate
        /// </summary>
        public DateTime? FGC_CreateDate { get; set; }

        /// <summary>
        /// FGC_LastModifier
        /// </summary>
        public String FGC_LastModifier { get; set; }

        /// <summary>
        /// FGC_LastModifyDate
        /// </summary>
        public DateTime? FGC_LastModifyDate { get; set; }

        /// <summary>
        /// FGC_Creator
        /// </summary>
        public String FGC_Creator { get; set; }

        /// <summary>
        /// FGC_UpdateHelp
        /// </summary>
        public String FGC_UpdateHelp { get; set; }

        /// <summary>
        /// FGC_Rowversion
        /// </summary>
        public String FGC_Rowversion { get; set; }

        /// <summary>
        /// 报废单编号
        /// </summary>
        public String ScrapCode { get; set; }

        /// <summary>
        /// 报废日期
        /// </summary>
        public DateTime? ScrapDate { get; set; }

        /// <summary>
        /// 组织Id
        /// </summary>
        public String DeptId { get; set; }

        /// <summary>
        /// 报废原因
        /// </summary>
        public String ScrapRemarks { get; set; }

        /// <summary>
        /// 会计凭证号
        /// </summary>
        public string AccDocNo { get; set; }

        /// <summary>
        /// 状态：0-草稿
        /// </summary>
        public Int32? Status { get; set; }

       

    }
}